home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
util
/
cdity
/
ModeProSrc.lha
/
Prefs
/
Revision_Data
< prev
next >
Wrap
Text File
|
2000-09-17
|
22KB
|
444 lines
----------------------------------------------------------------------------------------------------
(4.56.1) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description: TAG_DONE was missing
...
WA_PubScreen ,Scr,// (1.0.1)
TAG_DONE ))
...
----------------------------------------------------------------------------------------------------
(4.56.2) - Work:sc/Programs/ModePro/Prefs/MPPReadArgs.c
Description: Moved dir locking code from GetArgs() to CleanupArgs()
Fixes dir changing problem when launched from shell
...
CurrentDir(olock);// (4.56.2)
UnLock(lock);
...
----------------------------------------------------------------------------------------------------
(4.57.1) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
Description: Now invlaid modeid's won't set depth to 1, instead gives full depth range 1..32
...
if(GetDisplayInfoData(NULL,(UBYTE *)&di,sizeof(di),DTAG_DIMS,n->ModeID)>0)// (4.57.1)
{// (4.57.1)
maxdepth=di.MaxDepth;// (4.57.1)
}// (4.57.1)
else// (4.57.1)
{// (4.57.1)
maxdepth=32;// (4.57.1)
}// (4.57.1)
n->Depth=min(n->Depth,maxdepth);// (4.57.1)
...
----------------------------------------------------------------------------------------------------
(4.57.2) - Work:sc/Programs/ModePro/Prefs/MPPGadgets.c
Description: Best Mode option
...
(STRPTR) MSG_G_PROMOTE_BEST_MODE, // <----------
...
----------------------------------------------------------------------------------------------------
(4.57.3) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
Description: Was mistakenly MPSEM_PLIST_MAX
...
maxmode=MS_PROMOTE_MAX;
...
----------------------------------------------------------------------------------------------------
(4.57.4) - Work:sc/Programs/ModePro/Prefs/MPPMonitorList.c
Description: Create the "Any Monitor"
...
if(mn=CreateMonitorNode(MONITOR_ID_MASK))// (4.57.4)
{ // (4.57.4)
AddHead(List,(struct Node *)mn); // (4.57.4)
}
...
----------------------------------------------------------------------------------------------------
(4.57.5) - Work:sc/Programs/ModePro/Prefs/MPPMonitorList.c
Description: Create the "Any Monitor"
...
if(id & MONITOR_ID_MASK == MONITOR_ID_MASK)// (4.57.5)
{// (4.57.5)
if(mn->mn_Node.ln_NAme=CopyString(GetString(MSG_ANY_MONITOR),MEMF_PUBLIC))// (4.57.5)
{// (4.57.5)
return(mn);// (4.57.5)
}// (4.57.5)
}
...
----------------------------------------------------------------------------------------------------
(4.57.6) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
Description: Replaced code with call to GetMonitorName()
...
GetMonitorName(n->ModeID,ModeName,32);// (4.57.6)
/*{// (4.57.6)
struct MonitorInfo mi;// (4.57.6)
if(GetDisplayInfoData(NULL,(UBYTE *)&mi,sizeof(struct MonitorInfo),DTAG_MNTR,n->ModeID)>0)// (4.57.6)
if(mi.Mspc)// (4.57.6)
if(mi.Mspc->ms_Node.xln_Name)// (4.57.6)
strncpy(ModeName,mi.Mspc->ms_Node.xln_Name,32);// (4.57.6)
}*/
...
----------------------------------------------------------------------------------------------------
(4.57.7) - Work:sc/Programs/ModePro/Prefs/MPPScreenModeNames.c
Description: Added "Any Monitor" to GetMonitorName()
...
if(DisplayID & MONITOR_ID_MASK == MONITOR_ID_MASK)// (4.57.7)
{ // if DisplayID = INVALID_ID// (4.57.7)
strncpy(Buffer,GetString(MSG_ANY_MONITOR),BufferLen);// (4.57.7)
BufferLen--;// (4.57.7)
Buffer[BufferLen]=0;// (4.57.7)
rv=strlen(Buffer);// (4.57.7)
}
...
----------------------------------------------------------------------------------------------------
(4.57.8) - Work:sc/Programs/ModePro/Prefs/MPPMonitorList.c
Description: Replaced this function code with one that calls GetMonitorName()
...
struct ModeNode *CreateMonitorNode(ULONG ID)
...
----------------------------------------------------------------------------------------------------
(4.57.9) - Work:sc/Programs/ModePro/Prefs/MPP_Init.c
Description: Added if() in FixScreenModeNames to prevent edited entries in the ScreenModeList from
having it's name changed.
...
if(dn->OrigDisplayID!=0xffffffff))
...
----------------------------------------------------------------------------------------------------
(4.57.10) - Work:sc/Programs/ModePro/Prefs/MPNeuGadgets.c
Description: Centered Screenmode name
...
GTTX_Justification, GTJ_CENTER,
...
----------------------------------------------------------------------------------------------------
(4.57.11) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
Description: New BestMode option
...
case MS_PROMOTE_BEST_MODE: // (4.57.11)
d1=d2=FALSE;// (4.57.11)
width =n->Width;// (4.57.11)
height =n->Height;// (4.57.11)
GetMonitorName(n->ModeID,ModeName,32);// (4.57.11)
break;
...
----------------------------------------------------------------------------------------------------
(4.57.12) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
Description:
...
if((N->ModeSelect==MS_PROMOTE_SCREENMODE || N->ModeSelect==MS_PROMOTE_REQUESTER || N->ModeSelect==MS_PROMOTE_BEST_MODE) && N->Flags & (DEPTH | DNF_PALETTE))
...
----------------------------------------------------------------------------------------------------
(4.57.13) - Work:sc/Programs/ModePro/Prefs/MPPGadgets.c
Description:
...
if(DN->Flags & (DEPTH | DNF_PALETTE) && (DN->ModeSelect==MS_PROMOTE_SCREENMODE || DN->ModeSelect==MS_PROMOTE_REQUESTER || DN->ModeSelect==MS_PROMOTE_BEST_MODE))
...
----------------------------------------------------------------------------------------------------
(4.57.14) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
Description:
...
case MS_PROMOTE_BEST_MODE:// (4.57.14)
SelectMonitor(N);// (4.57.14)
break;
...
----------------------------------------------------------------------------------------------------
(4.57.15) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
Description:
...
if(n->ModeSelect==MS_PROMOTE_BEST_MODE)// (4.57.15)
{// (4.57.15)
discheck=FALSE;// (4.57.15)
if(n->Flags & (DEPTH | DNF_PALETTE))// (4.57.15)
{// (4.57.15)
disslide = FALSE;// (4.57.15)
maxdepth = 32;// (4.57.15)
n->Depth = min(n->Depth,maxdepth);// (4.57.15)
checked = n->Flags & DEPTH;// (4.57.15)
} // (4.57.15)
}
...
----------------------------------------------------------------------------------------------------
(4.57.16) - Work:sc/Programs/ModePro/Prefs/MPPGadgets.c
Description:
...
160 ,(STRPTR)MSG_G_PROMOTE_BEST_MODE, // <----------
...
----------------------------------------------------------------------------------------------------
(4.57.17) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
Description:
...
maxdepth=min(di.MaxDepth,32);// Can only handle upto 32bit (4.57.1)
...
----------------------------------------------------------------------------------------------------
(4.57.18) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
Description:
...
maxdepth=DepthToSlider[32];// (4.57.1)
...
----------------------------------------------------------------------------------------------------
(4.57.19) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
Description:
...
depth=DepthToSlider[n->Depth];
...
----------------------------------------------------------------------------------------------------
(4.57.20) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
Description:
...
maxdepth=DepthToSlider[min(di.MaxDepth,32)];
...
----------------------------------------------------------------------------------------------------
(4.57.21) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
Description:
...
N->Depth=SliderToDepth[Depth];
...
----------------------------------------------------------------------------------------------------
(4.57.22) - Work:sc/Programs/ModePro/Prefs/MPPGadgets.c
Description:
...
SetAPen(Win->RPort,DrawInfo->dri_Pens[TEXTPEN]);// (4.57.22)
SetDrMd(Win->RPort,JAM1);// (4.57.22)
RenderText(Win->RPort, ColorStrings[DepthToSlider[DN->Depth]],// (4.57.22)
RT_XPos , ColorDisp.RightEdge,// (4.57.22)
RT_Baseline , ColorDisp.Baseline,// (4.57.22)
RT_MaxWidth , ColorDisp.Width,// (4.57.22)
RT_Justification, RTJ_RIGHT,// (4.57.22)
RT_TextLength , &ColorDisp.PrevWidth,// (4.57.22)
TAG_DONE);
...
----------------------------------------------------------------------------------------------------
(4.58.1) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
Description: Should have been commented out in 4.57
...
// n->ModeSelect==MS_PROMOTE_BEST_MODE)
...
----------------------------------------------------------------------------------------------------
(4.61.1) - Work:sc/Programs/ModePro/Prefs/PaletteReq.c
Description: Was 0, caused screen trashing on Cgx with superlayers
...
WA_Width, 1,// (4.61.1)
WA_Height, 1,
...
----------------------------------------------------------------------------------------------------
(4.61.2) - Work:sc/Programs/ModePro/Prefs/PaletteReq.c
Description: remeber where window closed
...
PReq->pr_WinLeft =PReq->pr_Window->LeftEdge;// (4.61.2)
PReq->pr_WinTop =PReq->pr_Window->TopEdge;
...
----------------------------------------------------------------------------------------------------
(4.61.3) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description: now releases semaphore
...
ReleaseSemphore(&MPSem->SharedSem);
...
----------------------------------------------------------------------------------------------------
(4.61.4) - Work:sc/Programs/ModePro/Prefs/MPPReadArgs.c
Description: Can now read tooltypes if renamed
...
char pname[256];// (4.61.4)
// (4.61.4)
if(GetProgramName(pname,256))// (4.61.4)
{// (4.61.4)
if(lock=DupLock(GetProgramDir()))// (4.61.4)
{// (4.61.4)
OldDirLock=CurrentDir(lock);// (4.61.4)
if(MPIcon=GetDiskObject(pname))// (4.61.4)
{
...
----------------------------------------------------------------------------------------------------
(4.62.1) - Work:sc/Programs/ModePro/Prefs/MPP_ProcessInput.c
Description: Moved code
...
case M_ENABLED:// (4.61.5)// (4.62.1)
MPSem->Enabled=(mi->Flags & CHECKED ? 1:0);// (4.61.5)
...
----------------------------------------------------------------------------------------------------
(4.62.2) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description: Below
...
MPSem->PrefsToDoPort.mp_SigBit =ForcedSig;
...
----------------------------------------------------------------------------------------------------
(4.62.3) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description: Renamed ForcedEditPort to PrefsToDoPort
...
MPSem->PrefsToDoPort.mp_SigBit =ForcedSig;// (4.62.3)
MPSem->PrefsToDoPort.mp_SigTask =FindTask(0);// (4.62.3)
MPSem->PrefsToDoPort.mp_Flags =PA_SIGNAL;
...
----------------------------------------------------------------------------------------------------
(4.62.4) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description: Above
...
ForcedEditMsg=(struct MPMessage *)GetMsg(&MPSem->PrefsToDoPort);
...
----------------------------------------------------------------------------------------------------
(4.62.5) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description: Above
...
MPSem->PrefsToDoPort.mp_SigBit =255;// (4.62.5)
MPSem->PrefsToDoPort.mp_SigTask =0;// (4.62.5)
MPSem->PrefsToDoPort.mp_Flags =PA_IGNORE;
...
----------------------------------------------------------------------------------------------------
(4.62.6) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description: Above
...
while(msg=GetMsg(&MPSem->PrefsToDoPort))
...
----------------------------------------------------------------------------------------------------
(4.62.7) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
Description: Above
...
if(!(ForcedEditMsg=(struct MPMessage *)GetMsg(&MPSem->PrefsToDoPort)))
...
----------------------------------------------------------------------------------------------------
(4.62.8) - Work:sc/Programs/ModePro/Prefs/MPP_ProcessInput.c
Description: Above
...
if(ForcedEditMsg=(struct MPMessage *)GetMsg(&MPSem->PrefsToDoPort));
...
----------------------------------------------------------------------------------------------------
(4.62.9) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description:
...
// SetMPSem();
...
----------------------------------------------------------------------------------------------------
(4.62.10) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description:
...
SetMPSem();
...
----------------------------------------------------------------------------------------------------
(4.63.1) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description: Moved these lines to after the if(OpenDiskFont()
...
dispid=GetVPModeID(&(gs->ViewPort));// (4.63.1)
UnlockPubScreen(0,gs);// (4.63.1)
gs=0; // (4.63.1)
GetGUIScale(TAttr,GText,&XScale,&YScale);
...
----------------------------------------------------------------------------------------------------
(4.63.2) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description: Moved these to before if(OpenDiskFont())
...
UnlockPubScreen(0,gs);// (4.63.1)// (4.63.2)
gs=0; // (4.63.1)
...
----------------------------------------------------------------------------------------------------
(4.63.3) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
Description: Moved
...
dispid=GetVPModeID(&(gs->ViewPort));// (4.63.1)
...
----------------------------------------------------------------------------------------------------
(4.64.1) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/ModeProPrefs.c
Description: changed name to ex_
...
if(ex_OpenLibs(argc,// (4.63.1) (09/17/00)
...
----------------------------------------------------------------------------------------------------
(4.64.2) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/ModeProPrefs.c
Description: ex_
...
ex_CloseLibs(MP_Libs);
...
----------------------------------------------------------------------------------------------------
(4.64.3) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/MPPVer.c
Description: new version system makes this obsolete
...
/*UBYTE Version[] = "$VER: ModeProPrefs "MPVER" "__AMIGADATE__;*/
...
----------------------------------------------------------------------------------------------------
(4.64.4) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/PaletteReq.c
Description: due to extras.lib changes
...
slidernumlen=gui_MaxStrFontLen(PReq->pr_TextFont,4,'0','9');
...
----------------------------------------------------------------------------------------------------
(4.64.5) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/MPP3dLV.c
Description: above
...
clen=gui_StrFontLen(font,c);
...
----------------------------------------------------------------------------------------------------
(4.64.6) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/MPP3dLV.c
Description: same
...
dashlen=gui_StrFontLen(font,c);
...
----------------------------------------------------------------------------------------------------
(4.64.7) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/MPP3dLV.c
Description: ditto
...
GhostRect(rp,Dm->lvdm_DrawInfo->dri_Pens[TEXTPEN],left,top,right,bottom);
...
----------------------------------------------------------------------------------------------------
(4.64.8) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/PaletteReq.c
Description: yep
...
n=gui_StrLength(SL_TextFont ,TF,
...
----------------------------------------------------------------------------------------------------
(4.64.9) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/PaletteReq.c
Description: again
...
#include "palettereq.h"
...
----------------------------------------------------------------------------------------------------
(4.64.10) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/PaletteReq.c
Description: ^
...
#include "palettereq.h"
...